<tr>
    <td>
        <span>{$new['displayorder']}</span>
    </td>
    <td>
        <span>{$new['click']}</span>
    </td>
    <td>
        <a href="{php echo $this->createWebUrl('news',array('op'=>'news_detail','id' => $new['id']));}">
            <span>{$new['title']}</span>
        </a>
    </td>
    <td>{$categorys2[$new['cateid']]['title']}</td>
    <td>
        {if $new['is_show_home'] == 1}
        <a class="btn btn-success" href="{php echo $this->createWebUrl('news',array('op'=>'news_rec','id' => $new['id'],'re'=>'0'));}" role="button" title="取消推荐">是</a>
        <!--<a href="{php echo $this->createWebUrl('news',array('op'=>'news_rec','id' => $new['id'],'re'=>'0'));}" title="取消推荐">-->
        <!--<span class="label label-success">是</span>-->
        <!--</a>-->
        {else}
        <a class="btn btn-default" href="{php echo $this->createWebUrl('news',array('op'=>'news_rec','id' => $new['id'],'re'=>'1'));}" role="button" title="推荐">否</a>
        <!--<a href="{php echo $this->createWebUrl('news',array('op'=>'news_rec','id' => $new['id'],'re'=>'1'));}" title="推荐">-->
        <!--<span class="label label-danger">否</span>-->
        <!--</a>-->
        {/if}
    </td>
    <td>
        {if $new['is_display'] == 1}
        <a class="btn btn-success" href="{php echo $this->createWebUrl('news',array('op'=>'news_show','id' => $new['id'],'show'=>'0'));}" role="button" title="隐藏">显示中</a>
        <!--<a href="{php echo $this->createWebUrl('news',array('op'=>'news_show','id' => $new['id'],'show'=>'0'));}" title="隐藏">-->
        <!--<span class="label label-success">显示中</span>-->
        <!--</a>-->
        {else}
        <a class="btn btn-default" href="{php echo $this->createWebUrl('news',array('op'=>'news_show','id' => $new['id'],'show'=>'1'));}" role="button" title="显示">已隐藏</a>
        <!--<a href="{php echo $this->createWebUrl('news',array('op'=>'news_show','id' => $new['id'],'show'=>'1'));}" title="显示">-->
        <!--<span class="label label-default">已隐藏</span>-->
        <!--</a>-->
        {/if}
    </td>
    <td class="">{php echo date('Y-m-d H:i', $new['createtime']);}</td>
    <td>
        <div class="link-group">
            <a href="{php echo $this->createWebUrl('news',array('op'=>'news_post','id' => $new['id']));}">编辑</a>
            <a href="{php echo $this->createWebUrl('news',array('op'=>'news_delete','id' => $new['id']));}" class="del" onclick="delcfm()">删除</a>
        </div>
    </td>
</tr>